package com.example.tigering.filter;

import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 * @Author: xwg
 * @CreateDate: 2023/8/23
 */

@Component
public class TestingFilter implements Filter {


    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("------------");
        filterChain.doFilter(servletRequest, servletResponse);
    }
}
